module.exports = {
  run: {
    environment: 'dev', //production
    // host: '192.168.0.4'
  },
  mysql: {
    host: '43.138.83.233',
    // host: 'localhost',
    port: '3306',
    user: 'haiyang',
    password: 'haiyang233',
    database: 'haiyang',
    logging: false,
    connectionLimit: 20000,
  },
  upload: {
    //上传文件后，返回文件地址的前缀
    baseurl: 'http://localhost:8899/',
  },
  admin: { password: 'DQ3GD1DD' },
  jsonwebtoken: {
    key: '3MjU0LCJleHAiOj', //密码  ！！！重要，不可泄漏
    expiresIn: 60000 * 1000 * 10000, // token过期时间，单位秒
  },
  WX: {
    AppID: 'wx50387a94f744beab',
    AppSecret: 'a8ce1e6f0e07e5bf6270304d2dd0251c',
    url:
      'https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code',
  },
}
